package mt.demo.dao;

import mt.demo.domain.NewsDomain;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by watson on 2015/9/24.
 */
@Repository
public interface NewsDao extends DaoBase<NewsDomain> {
    //根据条件获取数据
    List<NewsDomain> getDomainByCondition(@Param("domain") NewsDomain domain);
}
